package toyInterface;

public class ToyPlan implements Toy {

    private double price;
    private String color;

    @Override
    public void setPrice(double price) {
        this.price = price;
    }

    @Override
    public void setColor(String color) {
        this.color = color;
    }

    public double getPrice() {
        return price;
    }

    public String getColor() {
        return color;
    }

    @Override
    public void move() {
        // plan move ....
    }
    @Override
    public void fly() {
        // plan quack.fly ....
    }
    @Override
    public void walk() {
        // plan can not walk do nothing. ....
    }
//    ......

}




